package com.tech.platform.cms.logger.event;

import com.tech.platform.cms.logger.model.ApiLogModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

/**
 * @author shengqiang.wu
 * @date 2020/3/24/024 15:56
 * @desc
 */
public class ApiLogEvent extends ApplicationEvent{

    public ApiLogEvent(ApiLogModel source) {
        super(source);
    }

    @Override
    public ApiLogModel getSource() {
        return (ApiLogModel) super.getSource();
    }
}
